<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>

</h:head>
<h:body>

	<ui:composition template="/template.xhtml">

		<ui:define name="corpo">
			<h:form >
				<h:panelGrid id="panelGridLogin" columns="2">
					<f:facet name="header">  
                                        Autenticação do Usuário
                                </f:facet>

					<h:outputLabel for="login" value="Login: *" />
					<h:inputText id="login" size="50"
						value="#{usuarioAction.usuario.login}" required="true"
						label="Login" />
					

					<h:outputLabel for="senha" value="Senha: *" /> 
					<h:inputSecret id="senha" size="50"
						value="#{usuarioAction.usuario.senha}" required="true"
						label="Senha" />
					<f:facet name="footer">
						<h:commandButton value="Logar" styleClass="btn"
							style="margin:0; width:100%; align: right"
							action="#{usuarioAction.logar}" />
					</f:facet>
				</h:panelGrid>
				
			</h:form>
		</ui:define>
	</ui:composition>
</h:body>
</html>